<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<div class="right-s-box u-my-course_box pb10">
    <section class="no-data__wrap" th:hidden="not ${#lists.isEmpty(dataMap['list'])}">
        <span class="no-data-ico"></span>
        <p class="mt20"><span class="c-666">您没有收到任何消息~~~</span></p>
    </section>
    <ul class="newsList" th:if="${!#lists.isEmpty(dataMap['list'])}">
        <li th:each="affiche:${dataMap['list']}">
            <div class="row">
                <aside class="col-sm-6">
                    <span class="c-info fs14" th:if="${affiche['msgType']} == 1 or ${affiche['msgType']} == 3">管理员消息</span>
                    <span class="c-info fs14" th:if="${affiche['msgType']} == 2">系统消息</span>
                    <small class="ml5 pl10 time" th:text="${#strings.substring(affiche['createTime'],0,16)}"></small>
                </aside>
                <aside class="col-sm-6 pull-right text-right">
                    <a href="javascript:void(0);" th:attrappend="data-id=${affiche['id']}" id="deleteMessage" class="c-999" title="删除">
                        <i class="fa fa-trash-o"></i>
                    </a>
                </aside>
            </div>
            <div class="fs14 c-666 newsMain">
                <p  th:if="${affiche['msgType']} == 2 or ${affiche['msgType']} == 1" th:utext="${affiche['context']}"></p>
                <th:block th:if="${affiche['msgType']} == 3">
                    <div class="wbox-contetn mt10"><blockquote><footer  th:utext="${affiche['reference']}"></footer></blockquote><p th:utext="'回复：'+${affiche['context']}"></p></div>
                </th:block>
            </div>
        </li>
    </ul>
</div>
<div data-th-replace="layout/user/user-center-page"></div>
</html>
